package com.solo_project;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by ThoughtWorker on 1/16/14.
 */
public class Team {
    private String name;
    private List<Player> playerList;
    private List<Coach> coachList;
    public Team(String name) {
        this.playerList = new ArrayList<Player>();
        this.coachList = new ArrayList<Coach>();
    }
    public String name() {
        return name;
    }

    public void updateTeamRoster(Player player){
        playerList.add(player);
    }

    public void updateCoachRoster(Coach coach){
        coachList.add(coach);
    }





}
